<!-- NestedRoute.vue 嵌套路由-->
<template>
  <div>
    <main class="page">
      <section class="clean-block features">
        <div class="container">
          <div class="block-heading">
            <h2 class="text-info">欢迎</h2>
            <p>
              旅游可以让人和家人、朋友、伴侣一起共度美好时光，增进彼此感情。
            </p>
            <router-link class="btn btn-primary btn-lg" to="/nested/nested1">
              景区 </router-link
            >&nbsp;
            <router-link class="btn btn-primary btn-lg" to="/nested/nested2">
              风景
            </router-link>
          </div>
          <router-view> </router-view>
        </div>
      </section>
    </main>
  </div>
</template>
  
  <script>
export default {
  name: "NestedRoute",
};
</script>
  
